import useAxiosApi from '/@/utils/useAxiosApi';
const baseUrl = import.meta.env.VITE_APP_EDU_API;

/**
 * 校验是否为微信环境及签名
 * @returns UseAxiosReturn
 */
export function getScanParamU(url) {
    return useAxiosApi(baseUrl+`/getScanParam`, {
        method: 'POST',
        data: {url},
    });
}

export function checkEwmkq(number) {
    return useAxiosApi(baseUrl+`/checkEwmkq`, {
        method: 'POST',
        data: {number},
    });
}

export function checkKlkq(number) {
    return useAxiosApi(baseUrl+`/checkKlkq`, {
        method: 'POST',
        data: {number},
    });
}
